Herp derp, resource leak