remove unused socket connection