Kill some dead code on source and sink closing.