Added rescue for upnp to_json call and http_post.  Was raising ArgumentErrors when looping.