more references to AppName deleted from ConnectionService
ConnectionService: jumps out of loop and unregisters things when
connection is lost