check if respawning executor is needed. todo: limit newExecutor func retry times.