made hub.Client close the ws_input when the input channel is closed. added client.Client#Close that closes the input channel