BZ-1098226 - Inaccessible JBoss EWS container after a few REST requests
(cherry picked from commit a8ca1caf2c28fb2236accea7fdde89fc0999f6dd)