Fix dangling connection issues in SPDY