Fixed race condition causing issue #45

2 switches running at the same time fought for dominance