Added termination for launched mongos process.