Improved connect back - app will not die until you issue exit command