add task to restart server