Implemented abort job for all states, fully tested all but HS.