add autoClose and ref/unref
Release 0.1.0