Use trap + async timeout for tests

Allows tests to be killed with ctrl-c.

Bug: 19414810
Change-Id: I09fbee370e71386ed48b814407868c2fe7a0b058
1 file changed