Shutdown repository if it fails to start up completely