PHOENIX-1143 Prevent race condition between creating phoenix connection and closing phoenix driver/connection query services (Samarth Jain)