(fix): Chrome tracing wait for all events to be processed