or even this simpler example worked out for me.
runs silent to the end producing no output. Both scripts in examples never enter the loop.
P.S. of course i've changed user/pass in first example. Intrestingly, that wrong pass doesn't lead to any error messages too.