check that number of concurrent requests is not greater than total number of requests, thanks to @jakubkrajcovic
cleanup whitespace