in reply to Re^2: how to prevent perl script from terminatingin thread how to prevent perl script from terminating
The loop will keep trying the write_partial until it succeeds.