Functioning timeout test.