title: How handle with “use of closed network connection”
body: <p>For a http ‘listenAndServe’ and ‘listener.close’, then it will trigger listener with this err “use of closed network connection”</p>
  <p>I linked the issue, and there are example codes. I’m not sure how to solve this err in an elegant way.
  Can someone help?</p>
  <p><a href="https://github.com/golang/go/issues/52480" rel="nofollow noreferrer">https://github.com/golang/go/issues/52480</a></p>