Yes if you lose connection the jobs will stop. There is a program installed called Screen that is designed to work around this:
https://www.gnu.org/software/screen/
See attached for instructions.
PS Don't worry about time, if you need an extra few days that's fine.
Doug