clean stop instance according to remove instance