This will not work gracefully. 
Even if the user ask to stop, the receiver might still block at `ln.Accept`. 
You need to do more work than this. But it should be easy enough.