Thank you for tiding up my code. This topic can be closed. I found my problem. I am using a while construction to find the </description> tag, but the rss feed is faulty and does not close the <description> tag. This is why I can never find the end and mirc keeps looking.
It must be a pure coincidence that it stops at that line each time.
Thank you for your time