title: Rspec examples continue to run in spite of sleep being encountered
body: <p>I have the following rspec</p>
  
  <pre><code>context "example 1" do
    puts "hello"
    it "example 1 it" do
      sleep(50)
    end
  end
  context "example 2" do
    puts "thanks"
    it "example 2 it"
  end
  end
  </code></pre>
  
  <p>When I run this using rake, I get the following output:</p>
  
  <pre><code>hello
  thanks
  
  example 1
   example 1 it
    &lt;&lt;waits for 50s &gt;&gt;
  </code></pre>
  
  <p>Why is <code>thanks</code> printed while it is sleeping for 50s? I expect <code>thanks</code> to be printed only after the sleep is over.</p>