BZ-1083268 - Usage of finalize() in product code BRMS / BPM Suite

(cherry picked from commit 8124309f9bb24e6b6a0a4c967240fb12d26d201c)