fixed exit wait delay problem (delay test)