Added exception handling to ThingManager.

Signed-off-by: Dennis Nobel <d.nobel@external.telekom.de>