discontinue vs refrain from doing something

discontinue

verb
  • To consciously cease the ingestion or administration of (a pharmaceutical drug). 

  • To interrupt the continuance of; to put an end to, especially as regards commercial productions; to stop producing, making, or supplying. 

refrain from doing something

How often have the words discontinue and refrain from doing something occurred in a corpus of books? (source: Google Ngram Viewer )