a Context Manager to Do Rollback Automatically