ispdy: possible fix for dealloc and close