def __exit__(self, func_type, value, traceback):
        print '\nTCP Dumper.. Cleaning up :)'

        # Terminate the tcpdump process
        self.tcpdump_process.kill()

        # Change back to original directory
        os.chdir(self.orig_dir)

        # Clean up the temporary directory
        shutil.rmtree(self.temp_dir)
.. todo::
dataset/ETHPy150Open SuperCowPowers/workbench/workbench/utils/pcap_streamer.py/TCPDumpToWorkbench.__exit__--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/scripts/gsn_example.py/vis_samples