Time out and clean up udp stopped messages

This solves one of the problems with the bittorrent-client tests
not exiting
Remove semicolons