Revert "remove maxidle"

This reverts commit 5035f195410179ab63f553a4af00b24534192288.