handle initEnv error in goworker.WorkWithPool command.