fix crash AttributeError: Worker instance has no attribute 'error_sleep'
Merge pull request #3 from gryphius/bugfix/error_sleep_attribute_error

fix crash AttributeError: Worker instance has no attribute 'error_sleep'