Add functionality to suspend worker threads