add reconnect to slave