Adding reconnect events to example and fixing some typos