Some prevention of stale locks by unlocking it whenever possible.