title: WorkManager - remove periodic worker for good
body: <p>I had an update with the following code that adds a new periodic worker every three hours.</p>
  
  <pre><code>fun runCouponValidatorWorker() {
      val constraints = Constraints.Builder().setRequiredNetworkType(NetworkType.CONNECTED).build()
      val worker = PeriodicWorkRequestBuilder&lt;CouponValidatorWorker&gt;(3, TimeUnit.HOURS).setConstraints(constraints).build()
      WorkManager.getInstance()?.enqueueUniquePeriodicWork("couponValidatorWorker", ExistingPeriodicWorkPolicy.REPLACE, worker)
  }
  </code></pre>
  
  <p>I'd like to release an update that will "kill" this worker and every scheduled instance of this worker.</p>
  
  <p>What would be the best way to do that?</p>