patch 7.4.1378
Problem:    Can't change job settings after it started.
Solution:   Add job_setoptions() with the "stoponexit" flag.
diff --git a/src/main.c b/src/main.c
index fac4be1..57aeeed 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1486,6 +1486,9 @@
 	windgoto((int)Rows - 1, 0);
 #endif
 
+#ifdef FEAT_JOB
+    job_stop_on_exit();
+#endif
 #ifdef FEAT_LUA
     lua_end();
 #endif