The test now uses an infinite loop in the SQL to make sure the execution is interrupted.
The test checks that queries are killed properly.