Closes the resource and all connected objects.
@override @mustCallSuper Future<void> close() async { await cancel(); }