Add some more details and restructure.
Don't run write task continually and make it far less likely to lock the
server.