Added remote exception handling and job cancelling