fixed #229: handling rapid switch flapping race conditions gracefully
2 files changed