Fix explicitly disconnected networks not to reconnect when resuming