Next version that closes socket connections at server

Added code to collect parts from clients one by one, connecting to each
client at a time and then closing connection at server.
Once all parts are received, now server will connect to all clients one
at a time, and send map of parts to it and then disconnecting and  then
follow same procedure with another client.