Close writer on MarcBib write