Fix event reading lock