add delay in example
add delay in reconnect