v2.0.x: add track.sent() check in _handle
v2.0.x: minor refactor