use threads to launch 2 servers