Add test duration no-web option

This works, but I'm killing the thread incorrectly and it returns an error: "LoopExit: This operation would block forever". Perhaps someone can help me understand the correct way to shutdown when the timer expires?