HUE-2430 [pig] Progress bars of running scripts not updated on Dashboard

Changed dashboard to be refreshed also when scripts are not running
Fixed a but with failed logs retrieval