add extra logging during disconnect