Fixed potentially blocked channel sends in shutdown