remove import socket

already imported in line 4