add reconnect feature to driver.
Signed-off-by: Daogang Tang <daogangtang@gmail.com>