feat(controller): restart the app if there is a failure.