Delete JSON files after moving thread