Added context amnagement to completion_lock. Changed the exception thrown when finding an existing DAG snapshot to a log warning