Issue #27. Fixed dns and udp leaks