Closes the transport client (and any underlying HTTP client).
@override Future close() async { if (_shouldCloseClient) { _httpClient.close(); } }