Disable multicast discovery upon error. Fix #731.