no, its not a trap. there are well laid out provisions for either of the party to walk out of the deal with a years notice.
yes it could be a trap if we start depending on it for granted and don't take any measures to seek other sources of energy or say we become lazy and do not develop our own thorium based nuclear reactor technology.