hmmm, I think I see why the global lock will not work either :(