-- | Listens to the server output, makes sure it matches the record and
-- signals any semaphores
-- Note that on Windows, we cannot kill a thread stuck in getNextMessage.
-- | Listens to the server output, makes sure it matches the record and
-- signals any semaphores
-- Note that on Windows, we cannot kill a thread stuck in getNextMessage.