Adapt to pulsar-rest-api 0.0.4

@tomaszdurka please review.
Previously it was #1
with `status != 'RUNNING'` but not `with status === 'RUNNING'`.
I have this `if jobData.status != 'FINISHED'` only to run common error handler. We can move this check on the upper level.