Fixed parallel issue with task execution logger.

I think it's enough to just use a thead safe map implementation. The execution listener is called from a single thread per single task.