fix #19, when running error such as login fail, the worker cannot run the job normally