auto connect to make it resistent to network status change