Close fds after done
Small cleanup