State of connection is now three-way choice rather than two booleans
Move call to tell ConnectionMaker that connection is established onto the queryLoop goroutine to avoid races with shutdown events