Not atomic and can contend with the REST thread which reads from the array.