[#53117735] Count connections in opening state in pool size limit
[#53117735] Use threaded connection pool and non-EM connections for queries outside of the EM reactor thread.