Testing further it would seem that the line ," mySerial.print " ,is causing the freeze.
By deleting these "mySerial.print" lines from the sketch, it works "normally",yet the line
"mySerial.write" does not seem to cause any problem and the sketch works "normally".