A door opens and closes repeatedly