Unable to close IDatabase

Now that I’ve fixed the threading issue from my other post, I still have problems when I try to create the database and then immediately close it.