Auto connection when network is reconnected.