add logging to Utils.wait_for_finish()