Closed off resource to prevent memory leak