code: private void requestAllOutputGatesToClose() throws IOException, InterruptedException {
  		for (int i = 0; i < this.outputGates.size(); i++) {
  			this.outputGates.get(i).requestClose();
  		}
  	}
docs: Requests all output gates to be closed.