Related to src-d/sourced-ui#239.
Most probably this happens because SIGTERM is not handled. Given that when initializing workdirs we start and stop all the components, fixing this could reduce the amount of time required as by default stopping a container has a 10 seconds timeout before sending a kill.