[GEOT-4947]: Adding DisposeStopper wrapper
Merge pull request #623 from dromagnoli/GEOT-4947-11.x

[GEOT-4947]: Adding DisposeStopper wrapper - Backport to 11.x