Little function to cancel running models.