update reconnection(last 4 commits by Paracel)