Indented log messages to show which request they are associated
with. Implemented the close operation.