fix crash when multiple of reconnection after failed