postpone reconnection attempts while document.hidden