start a server thread