make intention of state "opening connection" in persistence.js clearer