Description
The read and write check methods in AbstractInactivityMonitor should be checking the monitorStarted value to ensure that they don't attempt to execute unnecessary read and write check events into the ASYNC_TASKS executor. The effect of the extra checks during shutdown doesn't break anything but can result in a longer time to shutdown the transport and more logging for no reason.