implemented reconnection on ping timeout

Set to 30 second delay by default
Added reconnect call to (read-in)