Fix event waiter always wait for 1000 sec if reading from queue is slower that population of queue.