Fix potential SPDY race