fix flock advisory_lock_exists