Fixed occasional obscure long-poll freesing issue in mozilla