method set_timeout v =
    call_method_void sv "timeout" [sv_of_int v]