Adding configurable setting to lock jobs and prevent re-execution of running command. Defaults to False to preserve the behaviour in the older versions of the module