made cleaning up idle hosts cleaner