Fixing ZQLSessionManagerTest failure

ZQLSessionManagerTest fails sometimes.
Hope this changes bring our CI back to green.