ScheduledThreadPoolExecutor.scheduleAtFixedRate calls delayedExecute thus there are still Threads running after gitblit has been terminated, but while the JVM is still running. So, for selenium test suites it will cause a test case fail for all test cases, but the first one. Anyway, I would prefer to keep the setting changeable on runtime (without a restart). I have another idea how to deal with this. See the next commit.