Added the restart server functionality. Fixed CARBON-14582