changed log category and also cache the last connection failure so we don't have  alog full of the same stack trace