Fixed threads not being re-interrupted if an InterruptedException happens while dispatching events.
Issue: MIRTH-2989