perflock cleanup