tidy
properly lock the writer pool