void () { if (myWatchRequest != null) { LocalFileSystem.getInstance().removeWatchedRoot(myWatchRequest); } myUpdateQueue.cancelAllUpdates(); myUpdateConfigQueue.cancelAllUpdates(); if (myMessageBusConnection != null) { myMessageBusConnection.disconnect(); } }