reset replies for subsequent requests

This is related to #152

If we don't reset the replies array when everything has been received, the 2nd call to `$rpcClient->getReplies()` will immediately return the `$this->replies` with its previous values as `count($this->replies)` will be > 0