Wait until after the X-Y segment is flown and then call and cancel the return. As stated, don't make a habit of this and you won't have any issues. Also, don't put in the OP number for the Y-Z-X flights until after you cancel the Y-X, just to be safe.