That code shouldn't crash. If it crashes then something is wrong with your system. It may result in a "Application is not responding" message from your OS if the value for seconds is sufficiently large, but it shoudn't crash.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.