set worker timeout from env, with default to 240