delete socket error