[core] Add multithreading using Fork/Join Framework