Towards the continuum limit of the thermodynamics of lattice QCD with a realistic quark spectrum