Hi eagamezg,
I am trying to reproduce your issue. I have a sketch running calling a python script. I shut down my computer leaving Galileo plugged in via USB. My program runs continuously with or without my computer. Can you provide your source code so I can try to reproduce this with your code?
Regards,
Intel_JEspinoza