fix h2 closing