I just imagine him being so conflicted about what he wanted for himself and what he thought reality would allow that killing himself made more sense then living ostracized. He must of truly believed the goodness of people is limited to what the majority find socially acceptable.