Better handling of errors in adcps_jln_stc.

@wfrench Please review.