That's a long-standing problem that haunted me for 2 years.
- UDP streams don't expire quickly
- The receiver side drops the receiver
- Your code still tries to send via that sender, and simply errors and drops the packet when its not going through.
I have fixed it in nsproxy.