Fix lock is not expired when locker is disconnected.