import wait event in Queue