fixed the size limit to task retrying queue