add reconnect logic
remove reconnect logic on server destroy