rollback pcap file position if io exception occurred