[TIMOB-16960] Only send analytics by one process at a time and write eac...

...h event to separate files to avoid conflicts.