Fixed some issues with torrent_alive related to invalid ports.

Should catch all the cases where the port might cause torrent_alive to fail.

Since it's not (easily) possible to catch the real exceptions with the task based approach, get_udp_seeds has been used directly.