Unless you're getting in their face and really pushing them around, I don't get why a civ would wanted to cut off the agreement. Even if suddenly it appears your borders will conflict with your opponents, they could simply just wait 15 (or is it 30?) turns to get the tech and then declare war.