Fixing ServerThread construction