Reconnect if network is unavailable after startup

Fixes: #1080