Add support to time out long running queries

"seconds spent accessing %d tuples." has always been a little misleading. Please change it to "seconds elapsed performing %d tuple operations."