bug #40 - control listener VG_EVENTS.ON_SET_STATE is not ready in autoplay

i've added timeout.