Add timeout for Queries (closes #102)