Add polling

Here's a stab at polling for job completion if you're interested