Sleeping 2 s receivedPause(): 1 receivedResume(): 0 receivedRestart(): 0 receivedStop(): 0 Clearing all flags. receivedPause(): 0 receivedResume(): 0 receivedRestart(): 0 receivedStop(): 0 pauseCbck.pauseFlag: 1 pauseCbck1.pauseFlag: 1 resumeCbck.resumeFlag: 0 resumeCbck1.resumeFlag: 0 restartCbck.restartFlag: 0 restartCbck1.restartFlag: 0 stopCbck.stopFlag: 0 stopCbck1.stopFlag: 0 notStopCbck.stopFlag: 0 Sleeping 2 s receivedPause(): 0 receivedResume(): 1 receivedRestart(): 0 receivedStop(): 0 Clearing all flags. receivedPause(): 0 receivedResume(): 0 receivedRestart(): 0 receivedStop(): 0 pauseCbck.pauseFlag: 0 pauseCbck1.pauseFlag: 0 resumeCbck.resumeFlag: 1 resumeCbck1.resumeFlag: 1 restartCbck.restartFlag: 0 restartCbck1.restartFlag: 0 stopCbck.stopFlag: 0 stopCbck1.stopFlag: 0 notStopCbck.stopFlag: 0 Sleeping 2 s receivedPause(): 0 receivedResume(): 0 receivedRestart(): 1 receivedStop(): 0 Clearing all flags. receivedPause(): 0 receivedResume(): 0 receivedRestart(): 0 receivedStop(): 0 pauseCbck.pauseFlag: 0 pauseCbck1.pauseFlag: 0 resumeCbck.resumeFlag: 0 resumeCbck1.resumeFlag: 0 restartCbck.restartFlag: 1 restartCbck1.restartFlag: 1 stopCbck.stopFlag: 0 stopCbck1.stopFlag: 0 notStopCbck.stopFlag: 0 Sleeping 2 s receivedPause(): 0 receivedResume(): 0 receivedRestart(): 0 receivedStop(): 1 Clearing all flags. receivedPause(): 0 receivedResume(): 0 receivedRestart(): 0 receivedStop(): 0 pauseCbck.pauseFlag: 0 pauseCbck1.pauseFlag: 0 resumeCbck.resumeFlag: 0 resumeCbck1.resumeFlag: 0 restartCbck.restartFlag: 0 restartCbck1.restartFlag: 0 stopCbck.stopFlag: 1 stopCbck1.stopFlag: 1 notStopCbck.stopFlag: 0 Exiting.