[HapProcess] Add a mechanism to set the sleep time after an exception is catched in HatoholThreadBase.