Allow passing timeout configuration