Improved busy waiting in read/write of the list with the accelerometer data