See this discussion get a lock!