lock  outside of the try block
null test
null test
null test