When a suicidal criminal is caught you do need to prosecute them. That means that you need to keep them alive to be able to prosecute them. Justice is not served when suspects kill themselves. We still don't know whether what he did was a crime or not.
When no person is harmed, and there has been no physical damage, (but with some kind of monetary loss due to shutting off a connection) it's absurd to suggest that 35 / 50 years in prison is a suitable punishment. It's absurd to suggest that any time in prison is a suitable punishment. Note that this applies even if the suspect is not suicidal.
Using these kind of plea-bargaining tactics when you know the suspect is suicidal is cruel.