commandserver: close server's fds explicitly from a worker

Authored by quark.

Description

commandserver: close server's fds explicitly from a worker

The forked worker does not need to accept connections from the server's
socket fd. So let's just close them explicitly to avoid surprises.

Differential Revision: https://phab.mercurial-scm.org/D3720

Details