incorporate code review comments: add warning for exception while querying job status