added timeout to chart