Fixed 2 InterruptedException bugs from SonarCloud.

Change-Id: I9ea2bd764002c79f402828d3f67f017051ac0a7a
Signed-off-by: Raphael Weber <raphael.weber@vector.com>
2 files changed