Reopen UDP socket after network outages