remove thread sleep