Use processes instead of threads to fix slow down