Fix file descriptor leak

The /proc/PID/cmdline files opened for client identification purposes
were left open.

[mce] Fix file descriptor leak
Merge pull request #133 from spiiroin/fd_leak

Fix file descriptor leak