TResource is freed after request. Closes #13.