'Close this program while the close signal is emitted.
.. note:: This method is the slot responses to the close signal from
an instance of the main dialog.'

def close(self):

    try:
        RetrieveData.clear()
    except:
        pass
    super(QDialogDaemon, self).close()
