restart server upon error