please help close and wait ?