pep 8 - uncommented agent network code - teardown fixed