Try moving database/ away in case of failure
Remove database/ after clean shutdown