title: Is it possible to terminate an already running delayed job using Ruby Threading?
body: <p>Let's say I have delayed_job running in the background. Tasks can be scheduled or run immediately(some are long tasks some are not)</p>
  
  <p>If a task is too long, a user should be able to cancel it. Is it possible in delayed job? I checked the docs and can't seem to find a terminate method or something. They only provide a catch to cancel delayed job itself(thus cancelling all tasks...I need to just cancel a certain running task)</p>
  
  <p><strong>UPDATE</strong>
  My boss(who's a great programmer btw) suggested to use Ruby Threading for this feature of ours. Is this possible? Like creating new threads per task and killing that thread while it's running?</p>
  
  <p>something like:</p>
  
  <pre><code>t1 = Thread.new(task.run)
  self.delay.t1.join (?) -- still reading on threads so correct me if im wrong
  </code></pre>
  
  <p>then to stop it i'll just use t1.stop (?) again don't know yet</p>
  
  <p>Is this possible? Thanks!</p>