add timeout when loading fonts