add time limit to allocateExecutors