Fix event leak.