catch IoException in CountUidUrl