We probably want to close our directory if we error out here..