added shutdown hook to kill hadoop job

right, but can you please, describe it a bit more? I mean, how two JobID classes relate to downgrade call?