fix LocalityAwareQueue#empty?