Network connection lost

Hi!
In which cases Worker script can throw an exception “Network connection lost.”?