added timeout to benchmark