Poll for results

Poll a task's status until it settles, then read the result, from a server with an API key or from a browser with the task's pat_ token.