Wrote request handler thread