Job abort implementation based on current state