Setup shutdown port at begining.