set switching to true if spdy conn failed in sub goroutine