corrected wait delay to properly clear itself on subsequent triggers