reset counter after sending, properly now. closes #65.