title: how to shutdown/stop scheduler after a specific time
body: <p>I am creating a job which should run after every 10 seconds for next 2 hours, how can I do that? </p>
  
  <pre><code>from apscheduler.schedulers.blocking import BlockingScheduler
  
  sched = BlockingScheduler()   
  @sched.scheduled_job('interval', seconds=10)
    def timed_job():
       print('This job is run every 10 seconds.')
  sched.start()
  </code></pre>
  
  <p>How can I stop this scheduled job to stop after 2 hours? </p>