Add endpoint_url
Add error handling in JsonRpc Service