Magut almost dies to finish race