[PATCH 4.4 062/131] stm class: Fix unlocking braino in the error path