Reimplemented rollback of idle transactions.