Add sleep after time haschanged