Fix for the Bug 5637 : When closing OutboundQueue close() should go prior to finishSh...