Not actually a glitch, just a feature of the time it takes it takes for a door to switch, which, triggers the next door, which, before that one switches, triggers the next one.... and on... and on.... and on.
Cool demonstration Hyena I clearly shows that doors close at the same speed in any direction, but they open slowly to the top and the left, and open instantly to the bottom and right.