PHOENIX-985 performance.py script fails to execute queries