implement reset on wrtd_init()
Even though wrtd_reset() exists in the C library, the "reset" argument of wrtd_init() is ignored.
It should be made so that if reset==true wrtd_reset() is called from wrtd_init().
Even though wrtd_reset() exists in the C library, the "reset" argument of wrtd_init() is ignored.
It should be made so that if reset==true wrtd_reset() is called from wrtd_init().