Added shutdown option.