Fix subtle but important bug in ip_connect(); it shouldn't close the
drwxr-xr-x - configs
drwxr-xr-x - doc
drwxr-xr-x - src
drwxr-xr-x - test