test for close cb
have an option for when stream is closed/errored/aborted
document close
prepublish script to avoid publishing bad versions
0.4.0