SIGPROF for main thread
Fix high CPU consumption on restart