Minor change to DB open/close API