add reconnect

Signed-off-by: gf0842wf <gf0842wf@gmail.com>