Limit number of samples in the device in case of continuous fail of uploading to prevent local database to grow
Limit number of samples in the device in case of continuous fail of uploading to prevent local database to grow