Thank you very much.

How embarrassing...

I deleted the upper "serial.close" and now everything works fine