Finalize mongo working under pacemaker.