How to reap idle HTTP/2 connections in SwiftNIO?

the cop task does close the connection:

this is a possible source of the errors in our other thread.

this probably wasn’t clear from the limited excerpts i provided. the new APIs provide both streams as a tuple:

case .http2((let connection, let streams)):