Lock should(?) be released earlier