[FIX] sql_db: closing a closed connection is not allowed in psycopg2 2.4.4 and earlier
[FIX] sql_db: closing a closed connection is not allowed in psycopg2 2.4.4 and earlier

Having the connections automatically reaped by
psycopg2 is not guaranteed to happen all the
time, so we still need to take extra steps
to forece-close them

akretion/openerp-server,akretion/openerp-server,akretion/openerp-server