Add maxtasksperchild
configuration to reduce number of tasks per worker and avoid possible memory leaks
While debugging the Out of memory issue while correcting very long AGIPD runs. @kluyvert pointed to an option to specify the number of tasks a worker can handle before it gets replaced with a new worker.