[RJA-2784][fix] - Avoid IllegalStateException when trying to send error to client
Merge pull request #1032 from rsvato/master

[RJA-2784][fix] - Avoid IllegalStateException when trying to send error ...