Added timeout for the test hopefully stopping a hanging process