clear /etc/resolv.conf cache on posix systems when reattempting connection