It turns out I never used the
close method in Restructure in any of my production code. This led to
crashes cleaning up statements, as well as fully deleting the database. There was even a lone issue on GitHub
pointing me to the problem, but I never fixed it for over 3 years.