should we have try finally dispose lock for the above?