linux throws ECONNREFUSED instead of ENOENT.

Added another explicit branch to open_connection.