Method waiting for async task now return foreman task info or JSON repso...

...nse.