removed waiting when exit