Thank you Scott and my apologies for the late reply. I will read this today or next week and try to implement your suggestions. You may be right I may be suffering from buffering.
Receiving some data is the only piece not working in my script and stopping it from becoming, what I want.
I will get back to you.
Kind regards.
Cheers!