the corridor closes at both ends