Make deleting cookies more reliable