Added a little time to flush the queue