public synchronized void stop() throws IOException {
        if (uploaderThread == null) {
            throw new RuntimeException("Not running");
        }

        uploaderThread.interrupt();
        uploaderThread = null;
        fileUploader.shutdown();
    }
public synchronized void stop() throws IOException {
        if (uploaderThread == null) {
            throw new RuntimeException("Not running");
        }

        uploaderThread.interrupt();
        uploaderThread = null;
        fileUploader.shutdown();
    }
public synchronized void stop ( ) throws IOException { if ( uploaderThread == null ) { throw new RuntimeException ( "Not running" ) ; } uploaderThread . interrupt ( ) ; uploaderThread = null ; fileUploader . shutdown ( ) ; }
Stop background storage management.
@throws IOException
Stop background storage management .