Clean up after results are retrieved

Also, comments and docstrings, yay!
Run the pcap from the server