void stopReload ( ) throws InterruptedException { if ( reloadThread != null ) { running = false ; reloadThread . interrupt ( ) ; reloadThread . join ( ) ; reloadThread = null ; } }
Stop the background thread that reload the config file