Use streams instead of threads in Java to use Java 8's prefered parallelism method