Protects against closing a nil channel