Cleanup

No need to catch db.open() since the error will be logged anyway as soon
as the database is being opened.