Prevent further event handlers from being triggered. Fixes #2