moved control of async block from RestService to App and RestServlet