kill open window after time