Limit the queue size when disconnected
Merge pull request #9 from damienlevin/master

Limit the queue size when disconnected