Don't release unheld locks on error or close
Merge in updates from gridfs-streams v0.5 and prep for release