quartz: Don't delete critical sections before the filter's pins are done using them.