function job queue with concurrency and timeout support