Send queries that were too slow to the query log

Timeout exceptions are now logged