Working on function to pause running simulation of pcap file. Whole program paused by sleep on keyboard -p-