We should not start call read() (or basically don't start incoming) until after resume() has complete. This is a bit complicated, because resume makes use of the outgoing and incoming goroutines. Most likely, we'll need to have new indepenedent functions that do connection Read and Write that can be executed without the normal part of the client initialized.
We should not start call read() (or basically don't start incoming) until after resume() has complete. This is a bit complicated, because resume makes use of the outgoing and incoming goroutines. Most likely, we'll need to have new indepenedent functions that do connection Read and Write that can be executed without the normal part of the client initialized.