I dont think there is a time limit on how long it can 'run'..

how are you getting the 'time' getTimer()?

lets see your code/approach?