Typo & cleaner exception printing
Whitespace cleanup
Fix disconnect action for TCP connections