clean_up() now removes retry_dir