Sometimes when data from local storage was not sent successfully, local storage fills up and causes client-side errors