[GIT PULL 1/2] stm class: Lose the protocol driver when dropping its reference