Fix stopCaching logic in the RE client.
When caught exception at calling stopCaching(),
can not start caching again, reason that IsCaching boolean does not changed in RE client.
In this patch,
exception handling and disable IsCaching flag.
Change-Id: I80f4629d21ea16799f945c90d56f70f81bc38e90
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18125
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>