Make thread-safe wrapper around getStmtConn.
#982
+74
−28
Draft