docs: add examples for the client.reconnect
option
#3938
Merged
client.reconnect
option
#3938