Catch execQuery