added timeout for font loading