Fix issue #59

This patch fixes only one situation when 'complete' event was called.
If 'complete' event don't called then on next call it don't work.
Need more test maybe.