Run an array of functions concurrently, with a maximum of active tasks