Fixing packetizer and issue when ztask_node is killed via 'kill -9 <pid>'