Hello world server, fix thread issue