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