fixed infinite reboot bug, create log cleaner thread at reboot