close_lock_file(): exit (successfully) if file is already closed