[logbook] Make sure previous count/query request has finished before dispatching a new one
Logbook is quite slow this morning (taking 50+ secs for each query and count resources). The ui makes periodic requests to these resources regardless of whether the previous request has finished. This results in spamming the server (in my client i have many requests to query/count now pending).
The app should wait for the current request to count/query to finish before dispatching a new request