Cleaned up example
Close the TCP connection when Close() is called
Change bw to w
Cleaned up tests