Improved clock handling when releasing an entire patch with running
clocks.