Logs the InterruptedException

When waiting for a threaded command to finish, this logs when the
method is interrupted.