handle being offline a bit better