clean up when connecions vector is empty