try-finally around readlock