added time buffer when queue is empty