Don't close database during proof-of-stake checking