Return the db connection on open.