Fix the failing test case, was closing the stomp socket before the StompTransport had time to read and dispatch incoming commands.