daemon-rewrite: Implement connection pooling with SQLAlchemy yet