Merge pull request #16 from nuudles/master

Fixed infinite loop for restClient property