Auto deleting the data folder if the application was not closed
correctly.