Added multi-thread emulation of creating events