Subsets queries
Add db context manager with baked in timeout