ok on the android system this works EXACTLY correct on the windows server it does not stop yet outputs "gen done".... therefore clearinterval is being executed