Got a crude timeout working, currently trying to emit an event to the client but getting out of request context errors. Will investigate tomorrow.