updated glm_bench to not to kill the cloud in case of exception.