Fix mprAvailableThreads