Part of gocc, is responsible for creating measurements and their lifetime
Only for tasks with type "measurement".
- Block task
- Find the correct number of zonds with the same destination parameter as in main task
- Create a subtask for each zond (+ set uuid of the main task)
- Send posts to pubsub with task metadata
- Wait for a while (timeout/deadline from the main task)
- Delete / Hide / Mark Unfinished Jobs
- Make a calculation with data from the completed tasks
- Write the result to the main task