Split drop table in multiple statements, and change pgr_createtopology to assign_vertex_id.