errback a failure when connection is lost

* when connection is lost the client freezes waiting for callback/errback that never come