Stopped potential resource leak