Description
The StompNIOTransport calls selection.stop() in doStop and prints an exception stack trace to the console, the selection object is initialized in initializeStreams which may not be called if an error occurs as the connection is being establised. We should add a null check and not output stack trace data to the console.