Removing unneeded socket import