Almost working, client opens too many connections and server will open too many files.