Update reset max_fd