Throwing error in trpc route, continuously sending a request - tRPC