remove busy waiting