IA Robustness

Added code that prevents the app from crashing if the connection to an
IA is lost