Added shutdownonIdle field