His future looked pretty bleak. I think this is one of those situations where suicide is one of the 'better' ways out. I mean what was he gonna do? Wait to be executed? Spend many more years wondering? Spend the rest of his life in jail?
I'm not sure I wouldn't do the same thing if I were in his shoes.