fix fail to unlock stmtCache