def METHOD_NAME(self):
    """
    Deletion of database
    """
    # FIXME: this might not work if your not using socket.
    myThread = threading.currentThread()
    # Remove callback methods from thread
    myThread = threading.currentThread()
    del myThread.dummySetupCallback
    del myThread.dummyAlgoCallback
    del myThread.dummyTerminateCallback