add: offline detection, pause until connected again