execute code after response was sent - tRPC