fix empty successQueue & failureQueue
Merge pull request #9 from terloger/master

fix empty successQueue & failureQueue