Heartbeat raises an exception if lock lost