A GOAWAY frame carries the id of the last stream the sender will process. Streams up to that id may finish; later ones must be retried on another connection. It is how an HTTP/2 or gRPC server drains a connection before closing it.