Add methods for concurrent execution

Fixes #7
Clear table for query paging test