Plug an fd leak in keepalive.