Open and close door only one time when more than one people come in