Had a remote fan hooked up to the ceiling. It was attached to a black, white, red and ground wire. I want to replace it with a chandelier. The chandelier was wired to the black, white and ground. The chandelier operates with a wall switch. Can I just put a plastic cap and black tape on the red wire to isolate it? Is that safe?