[server/session] add missing rollback when freeing a db connection [applied]