Make logout code more fault tolerant. Reduce sync interval to 3 seconds (from 5).