[server][HatoholArmPluginGate] Handle exceptions in mainThread.