Fix service refresh for mongod and mongos processes