added support for a maximum startup time to workers.