STFU about EPERM
Close ndsdb after emptying, to avoid multi-writer deadlocks

I can't believe that one hasn't bitten me in the arse before.