Batch poll for tasks

Polls for multiple tasks of the specified type in a single request. Returns up to the specified count of tasks.