timeout support and performance tuning