added timeout for algo compilation