close_lock_file(): new function in the lockfile API