Attempt to fix race condition, Wait until collector goroutine is finishe...

...d updating the report.

Can you check if this version also hangs?