use `D_REENTRANT` OPTION