The problem is when running queries in a loop the Tedious library executes only the last call, while other calls returning this error
ConnectionError: Connec