Don't leak sockets
Remove unused import