prevent crash (multiple copies) when computer goes to sleep