Detangled forwarding of input and forwarding of cancellation message in the daemon client. Pushed the thread safety down to DaemonClientConnection.
Renamed test class.
Added an internal (for now) method on DefaultGradleConnector to allow client code to close the tooling API. Doesn't do much yet.
SynchronizedLogging doesn't actually need to do any synchronization, as it uses thread locals.
This doesn't need to be Serializable.
Forward shutdown request to each of the tooling api providers used by the client, and discard the providers once complete. The provider currently doesn't do anything with the request.
Missed this from the previous commit.
Added a little more test coverage for shutdown of the tooling api client.
Renamed test class