Update tcpudpchannel.c

fiksa file descriptor-problemet