A nice thread pool stripped from strongswan 4.5.0