fix: don't delete an unitialized timer (#12537)
fix: support for timeouts with ZTS on Linux (#10141)