dbcheck: Cancel transaction if operation fails.