Avoid recursive lock acquisition causing deadlock with clients running for over 60 seconds and issuing heartbeat command.