KRACOEUS-8068: improving the performance of the document rejection servi...

...ce.