Connects to all available networks one at a time.