getOpenPortConn may return error