Handler for the case when the number of pending server requests changes.
the new number of pending requests.
Handler for the case when the number of pending server requests changes.