fix: Memory leak exists in the function runCmd() in the class
QueryRunner.