Remove unnecessary import from socket