can shutdown gracefully