DOn't forget to close descriptors