close method
Closes the underlying connection to the VM service.
Returns a Future that fires once the connection has been closed.
Implementation
Future<void> close() async {
// Don't leak vm_service_client-specific objects, if any
await _serviceClient.close();
await _peer.close();
}