add sleep functon in requestHandlers