Note: Google App Engine kills the threads after 60 secs or so. If querying Conceptnet or whatever takes longer, well, bad luck. Since I try to cache every call locally, retrying the same query more than once might be useful, or you could just check the input data I've been working with, which will likely be in cache already.