enable autocommit

This is the simplest way to fix all the idle transcations in postgres