Working with dates and times - Reduce pooling duplication with context managers