def cleanup_sweep_threads():
    '''
    Not used. Keeping this function in case we decide not to use
    daemonized threads and it becomes necessary to clean up the
    running threads upon exit.
    '''

    for dict_name, obj in globals().items():
        if isinstance(obj, (TimedDict,)):
            logging.info(
                'Stopping thread for TimedDict {dict_name}'.format(
                    dict_name=dict_name))
            obj.stop_sweep()
Not used. Keeping this function in case we decide not to use
    daemonized threads and it becomes necessary to clean up the
    running threads upon exit.