don't use maxtasksperchild as compatibility with py2.6

don't use maxtasksperchild as compatibility with py2.6