Wrap {Socket, UnknownHost}Exception into ConnectionFailure