Added a minimum time to crash option

If the executable exits before x seconds it will not be restarted,
this is in case a program is so unstable it'll almost instantly crash
which will just end up in a start, crash, restart loop then, this change
prevents this from happening.