Make performance monitor use seconds, make it run cleanup when slow