client_module: socket to NULL