fix a socket leak in udhcpc (patch by Eric L. Chen)