Put only the long running task into the loading thread. Getting salt document
once a time for doc visualizer is working again.