Make all timeouts parametrized