Elysia uses Bun.serve internally, and bun uses uWS internally which has default timeout of 10s as stated in the issue
https://github.com/oven-sh/bun/issues/13392
You can pass idleTimeout option like .listen({idleTimeout: 30}) but you might need to upgrade the bun version to use them.