Stop GMP operations on error in test code.