Add --max-idle option to secchan and controller.