ispdy: fix incorrect close error reporting