fixed issue #25 reordered the stop event so its called after everything is cleaned up
Merge pull request #26 from jebaird/stop-event-reorder

fixed issue #25 reordered the stop event so its called after everything ...