Avoiding ending up in a state where we have endlessly new process in memory, waiting for the lock file, in case a process crashed and did not remove the lock file, for instance. Adding a timeout so that the processes terminate themselves. This wil also avoid too many processes in memory when a jock is taking very long (on a Raspberry Pi for instance?) to terminate.