Synchronization Program using Thread Pool