The only reasons to cancel are: 1. The code share is not revenue positive for one or both carriers. 2. US or Israeli regulators require it (in this instance). Neither sem likely.
Remember that there is no requirement that a codeshare, JV or other partner be in the same alliance.