[FIXED JENKINS-16831] Use Queue.getApproximateItemsQuickly to avoid locks from UI