public void stopMonitoring()
    {
        if ( monitorTaskScheduledFuture != null && !monitorTaskScheduledFuture.isDone() )
        {
            // Cancel, with an interrupt if this task has been cancelled before.
            monitorTaskScheduledFuture.cancel( monitorTaskScheduledFuture.isCancelled() );
        }
    }
Stop periodically checking the plugin directory.
xmppserver/src/main/java/org/jivesoftware/openfire/container/PluginMonitor.java