Worker: Fixed handler_error
Worker: Fixed handler_error

'scoped_session' object has no attribute 'connection_invalidated'
Ref: 767208287e09cbb19b321c5966e88211a2d6e44d

holmes-app/holmes-api,holmes-app/holmes-api