Avoid spurious reconnects.