detect when tap output is finished