Rewrite mapper as a thread pool