as @fdupont mentioned, calling expire can cause races within the kea code:
lease->expired() // false here
// some time passes
lease->expired() // true here
To enable design management, you'll need to meet the requirements. If you need help, reach out to our support team for assistance.