Move database out of extension directory, wait for it to close before quitting
Finished feature 56127658/delete-database.