@AfterClass
public static void tearDownAfterClass() throws Exception {
rpcClient.shutdown();
rpcClient.waitForShutdown();
TimeSync ts = TimeSync.getInstance();
ts.shutdown();
ts.waitForShutdown();
// delete testFile
File f = new File(testFileName);
if (!f.delete()) f.deleteOnExit();
}