Prevent hang if the port cannot be opened.
1 file changed