Made event.in and event.out not final but volatile