}
private void createOutputStreamRequestSender() {
try {
outputStream = new DataOutputStream(socket.getOutputStream());
requestSender = new OutputStreamRequestSender(outputStream);
} catch (final IOException e) {
callbackNonBlockingCaller.onFailure(clientCallback,
new IOStreamException(ERROR_CREATING_OUPUT_STREAM, e.getMessage(), e));
LOGGER.error("", e);
closeSession();