#47 nested locks