Fix bug with queue size < concurrency limit