internally it creates a event. We need this sync because in line 151 we access the hostframe, this frame is a struct without any transaction handling thus we must be sure that the copy operation is finished