delay before removing matches working for first match but not for chained matches