A machine was running indoors, and the gates were suddenly closed and opened.