title: Getting jobs from beanstalkd - timed out exception
body: <p>I am using <code>Python 2.7</code>, <code>beanstalkd server</code> with  <code>beanstalkc</code> as the client library.</p>
  <p>It takes about 500 to 1500 ms to process each job, depending on the size of the job.</p>
  <p>I have a <code>cron</code> job that will keep adding jobs to the beanstalkd queue and a &quot;worker&quot; that will run in an infinite loop getting jobs and processing them.</p>
  <p>eg:</p>
  <pre><code>def get_job(self):
      while True:
          job = self.beanstalk.reserve(timeout=0)
          if job is None:
              timeout = 10 #seconds
              continue
          else:
              timeout = 0 #seconds
              self.process_job(job)
  </pre></code>
  <p>This results in <code>&quot;timed out&quot;</code> exception.</p>
  <p>Is this the best practice to pull a job from the queue?</p>
  <p>Could someone please help me out here?</p>