Read events in a separate thread.