Fixed a silly fd leak