943 release openhelpermanager

Implement #943 issue.

Please review my code. Thx!
I did it because the `release` method scarely fit to add in `setDatabaseHelperRef`.

Maybe rename to `setDatabaseHelperRefAndRelease` has slightly better. WDYT?