Why do you open a new network

Why do you open a new network connection every time mudfish is run? Seems like bad code to me.

Please check MUDEC_00045