Return the slot if all messages remaining in slot are already sent.
Merge pull request #109 from akalankapagoda/ReturnSlot

Return the slot if all messages remaining in slot are already sent.