function to reset dpms timer