Delete event before signaling to the other thread