Added primitive reconnect to example script.