This ensures the send to the read channel for a client respects the context since it could otherwise end up hanging forever when sending to the channel that no longer has a goroutine reading from it thereby leaking the goroutine.
It also includes the read goroutine in the overall waitgroup for the client to help ensure it shuts down as intended.
This requires #373.
This ensures the send to the read channel for a client respects the context since it could otherwise end up hanging forever when sending to the channel that no longer has a goroutine reading from it thereby leaking the goroutine.
It also includes the read goroutine in the overall waitgroup for the client to help ensure it shuts down as intended.