Shutdown if port can't be opened