added timeout before hiding offline notice