Mod. Always use multiprocessing for metric execution.  Default is a single process.
Mod.  Always run on at least a single process.
Fix. Renewed connection for each query to avoid losing them.  Connections are torn down once used.