Robustness Improvement

TA and IA now have built in measures to prevent crashing if a connection
is lost.