KRACOEUS-8336:clear lock on close