[fix] restored database teardown