Handled the EMFILE error.