def try_cleanup(path, consider_lock_dead_if_created_before):
if ensure_deletable(path, consider_lock_dead_if_created_before):<EOL><INDENT>maybe_delete_a_numbered_dir(path)<EOL><DEDENT>
tries to cleanup a folder if we can ensure it's deletable