Cache packages on connection down