Add max running tasks