Remove dynamic threads