fixed up some things but still server gets blocked when any client quits