Adding .finish() to http handlers.