Use events to wait and join server thread instead of killing PID.
Use events to wait and join server thread instead of killing PID.

supersaiyanmode/HomePiServer,supersaiyanmode/HomePiServer,supersaiyanmode/HomePiServer