Check if queue is empty before stealing.