[UDP] Fix NRE sending during shutdown