Testing naive reconnections
Fix scope issues with the reconnect code