Added processed records value
Added remote exception handling and job cancelling