Cleanup examples (removed extra thread execution).