A Future that completes when the transport is closed, or when an error occurs. After this Future completes, isClosed will be true and no more data can be sent or received.
Future<void> get done => _doneCompleter.future;