There is no easy way to do this, since the wrapper does not provide a way to pass a timeout value to my knowledge. One of the hacking options would be to disable the urlfetch API:
old_fetch = urlfetch.fetch
def new_fetch(url, payload=None, method=GET, headers={},
allow_truncated=False, follow_redirects=True,
deadline=10.0, *args, **kwargs):
return old_fetch(url, payload, method, headers, allow_truncated,
follow_redirects, deadline, *args, **kwargs)
urlfetch.fetch = new_fetch