add mongo handler for restart