Test timeout exit code.