Clear arrays on connect