modify connection logic so that failure to connect to the application doesn't...
modify connection logic so that failure to connect to the application doesn't immediatly trigger logout
modify connection logic so that failure to connect to the application doesn't immediatly trigger logout