Olesoxime prevents excessive permeability of the mitochondrial membrane under stress conditions, preventing apoptosis by reducing the release of pro-apoptotic factors and maintaining energy production.