Fixed OnEndListener not called if progressiveStop called too early

Possible fix for Issue #59