supporting close event - destroying on error
bump - 0.2.6