Significantly reduce lock contention when queuing samples