Multithreaded finding multiple paths using futures.