current log only says that "InterruptedByTimeoutException expected", but does not print which exception is thrown. need to add debugging message to get the exception type.