MOB-2141 checking connection in main activity