Killing long running SQL queries