fix connection threads tracking leak

better mutex name, loop with while true

event per connection & thread cleanups specs

remove leftover

closes #1509

Conflicts:
	spec/inputs/tcp.rb