If program not doing anything, and error pops up, then problem is in programming language, and framework. That would be very bad situation...
I can put bet that there is some events that are timer based, so if you don't do anything, program can still do it.