Python Postgresql Connection Pool