make router endpoint_timeout overrideable