[refactor] change close close callback to event
[bump] version 0.3.0