This commit fixes a crash (caused by an assert) when closing an HTTP/2 socket with unused HTTP/2 session.