[server][ArmCeilometer] Use synchronizeThreadExit() to make the destructor clean.