When running `stack test`, sometimes the `swipl` programs keep running even after the tests are completed.