Add safeguard against pool sharing among processes

Forking the process will copy the pool's semaphore
allowing uncontrolled shared access between the processes.