move circuit timeout into variable