deleted closeServer on clientside