issue #61 handling EOF message