Block all connections related to a task