Try turning off file descriptor closing to fix dns issues with gevent+daemonization.