requesthandler is a thread