Safeguard in case something goes wrong.