Add new auto test for udp
Fixed issue with disconnect call (check for connected state first)