Cage doors or gates shall be closed while persons are being hoisted; they shall not be opened until the cage has come to a stop.