Description
Due to a race condition in the NMS.Stomp InactivityMonitor the object can leak Timer instances that perform read and write checks. The Dispose method needs to be synchronized on the object monitor lock. This change requires that the Connection class OnException fire off the task of notifying any registered listeners and cleaning up resources to a separate thread so the OnException call can complete and not initiate a DeadLock on the transport Dispose call.