XmlLogger: Remove tasks and targets from the hashtables when the task/target finished event arrives. PR: 25086 (a patch provided in one of the comments) Obtained from: Artur Lorincz