Pass a Failure instead of Exception to connectionLost() callback.