Close unnecessary file descriptors on server fork.