Switch logger
If already cancelled, return
Cache before trying to resume a dead connection