Set `poolclass` as `NullPool` when `pool_size` is 0 for psycopg2 driver.

Postgres connections as idle state still remain after app context has popped.