idle thread synco with sem added