LENS-87 : Fixes intermittent failure for TestJdbcDriver.testCancelQuery (Jaideep Dhok via amareshwari)