fixed handling of long-running queries and reviewed jobs process
Merge pull request #20 from olivier-squid/master

fixed handling of long-running queries and reviewed jobs process