How to stop watermarking when it takes too long to finish?

I am using watermark library in a spring web application. Some files take too long to apply watermark and this causing request to timeout. Is there a way like callback provided to know the progress of watermark and an extension hook is provided to stop watermarking after a timeout?
This is very essential to server applications so that other threads won’t starve, and good throughput can be achieved.
These are my application details:
Groupdocs.Watermark: 20.5
Java: 17
Spring Boot: 2.7
Operating System: Ubuntu
RAM: 8GB
CPU: 4

@shiva20grk

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WATERMARKJAVA-132

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.