[feature] add convenience close method
[bump] version 0.4.0