Odd. I do it here and it doesn't seem to deadlock: https://github.com/flynn/go-discoverd/pull/4/files#diff-d0b7f86cea13f90d3cc0cc2338da8d5fR316