Facilitated starting/stopping the hegemon thread multiple times