Fixed a bug with recursive calling while waiting for data save operation
to finish and receiving new sensor event to memory buffer