test: Make the child process wait longer so it gets actually killed
Prior to this, depending on the load on jenkins, the test could be flaky and fail for
the wrong reason [1]
[1] https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/263/console