LOGBACK-910: Set the interrupt flag when we catch InterruptException to ...

...avoid swallowing it.
We are currently using a library which uses the interrupt flag to abort the current job. If we log at the wrong time we currently lose that notification, and carry on like nothing happened. This can lead to critical errors in our case.