Using Packets() spawns off a separate goroutine which calls NextPacket in a loop until io.EOF is returned. This goroutine will stick around after Close() returned, resulting in only the first wireshark connection working.
So that when you connect with Wireshark, you’ll see the most recent packets (takes up to 7 MB of RAM).
Just point your wireshark to 10.0.0.1:5022.