handle vsync event protocol startup, shutdown