don't close client_socket in connect_func for NetBSD.