Make sure we have our db handle before trying to reset