Ensure turbotunnel read and write loop terminate

Introduce a waitgroup and done channel to ensure that both the read and
write gorouting for turbotunnel connections terminate when the
connection is closed.
4 jobs for issue/40033 in 7 minutes and 14 seconds (queued for 3 seconds)