Delete local records after sending to the cloud