fix hebo server to single thread and fix check-pretask in task.clj