Got multiprocessing working. Logging doesn't work in worker processes though.