a door shuts repeatedly