Closing a Formative task

When there are multiple open Formative tasks, is it possible to close all tasks assigned to a class with one go rather than either closing or un-assigning each task individually? Thanks