Postgres api abstraction layer. Postgres connection.
Fixes to asyncpool: all connections have to be disconnected while terminating.