dcramer/mangodb — pull request #40 by eugene-eeo (2014-08-16 15:01:01+00:00)
Title: Use with block to avoid deadlock

If any of the IO actions fail at least the lock would be released.