add pending jobs counter to thread pools