use Java Thread to launch Thrift Server