def _cleanup_temp_dir(temp_dir):
    """
    Runs cleanup on a TemporaryDirectory
    If successful it returns True
    If that fails it returns None
    """
    try:
        temp_dir.cleanup()
        return True
    except:
        return None