Code stops after some time using delay

i remember a project where our code would break on a particular unit. had the unit shipped back from san diego and starting investigating.

came in one morning and it was still running. sent out emails. came back 5 mins later and it had broken.

i'd be very surprised if you fixed by the change you described