Get rid of unused "connected" variable.