That can done. The only thing is that cleaning up RDD may in future involve more than just unpersisting.