Hardening/false leaks

### Description
Fixed the new SIGSEGV  - moved the call to mongDisconnect to a higher level.
Fixed the two leaks (197 bytes each) - deleting triggeredSubscriptions filtered by throttling.

Fixed in 940ee23