...so really the issue here is deciding when to close the DB when you're done with it altogether.