Implemented rollback() and state of transaction