keeping refreshevents alive and awake