fix some intellij warnings, do not rollback autocommit connections on close