Clean up reconnection stuff