Shell command: ffmpeg timeout after 60 seconds

Hello!

I use ffmpeg command to create timelapse from snapshots taken every 2min from the 3D printer camera.
It works well for prints that takes approx. 2 - 3 hours, less pictures shorter timelapse.
Unfortunatelly when print takes approx 6 - 8h when shell command:

create_time_lapse: ‘ffmpeg -framerate 30 -t 300 -pattern_type glob -i “/location of snapshots8/.jpg” -s:v 1920x1080 -c:v libx264 -crf 25 -pix_fmt yuv420p -t 300 /timelapse location/timelapse.mp4’

Using developer tools I get an error:
Timed out running command: shell command, after: 60 seconds

Anyone know how to add timeout to the command?
Or some workaround?