You have the same issue here that you had in your ack.py. It's a subtle thing but I don't think you have the behavior quite right.