Close unnecessary file descriptors after server fork.