remove setting fixed offset to message
kill ZMQ thread when InputZeroMQReader is destroyed
fix some errors seen by cppcheck