by setting the ADC command enable / disable at the beginning / end of the subrouting which has the adcin command , the hanging is not as often but its there still