Remove dead import
Add getter for index and some docs
More effective closing of sockets (linux)
Also connection timeout
Index exchange on connection