Send close command when sink is done