Merge pull request #5 from apache/master

apache master merge 2014/09/30
Changed provider task to sleep only if provider has no data
Merge PR#98 from 'rbnks/STREAMS-189'
Auto-merge | Integrating changes from apache/master