handle exit called before end
bump to version 0.2.6