Better handling of queue/thread pool limits.