do not raise IOError when sending stop messages over the message queue
handle errors reading stats over a closed pipe