fixed the problem that causes a crash in the Hatohol's exit procedures.

The problem is caused because the destructor of ArmNagiosNDOUtils
is executed while the ArmNagiosNDOUtil's thread is running. So this
fix adds code to send a stop request and wait for the completion.