Added reinit on reconnection