title: Call fsyncLock and fsyncUnlock non-consecutively using the same connection
body: <p>From a bash backup script I want to call <code>db.fsyncLock()</code>, then execute other commands (fs snapshotting) and later <code>db.fsyncUnlock()</code> non-consecutively over the <em>same connection</em>, since it is advised as <a href="http://docs.mongodb.org/manual/reference/method/db.fsyncLock/#connection" rel="nofollow">best practice</a>.</p>
  
  <p>I tried named pipes, but mongo shell crashes when having something piped via stdin. How can I achieve this?</p>