I agree with this comment. If you are near the end, just finish and get done with the PhD. Also .. take it from someone who is more than a decade into their professional career in CS research. Things change. I used to be able to crank out papers easily. Then, I got older and so did the field. All the easy stuff was gone. It is much harder to publish in my particular sub-field now. I tried expanding to include other related areas but it is also tough. I kinda wonder at what point to throw in the towel.