Close standard fds in test child process

The std fd's are shared with parent processes, which makes testr think
that we still have test workers, even though this isn't a test
process, its a live server.

Change-Id: I516a6a9bd9a98abffeb182189038763ea94618f6
Partial-Bug: #1357578
Merge "Close standard fds in test child process"