Stops the connection.
Returns a Future that resolves when the connection has been successfully terminated, or rejects with an error.
Future<void> stopAsync();