How to onCleanup an async resource from createResource?
or
or
or something else entirely?
I need to cleanup the connection when the resource re-fetches, and when the whole subtree is disposed of. If I don't the browser leaks the resource and eventually crashes.
