maxIdleTime is long (delegate)