A Q promises library helper to restrict the concurrency of q promises