remove old packages during stop