delete socket import