netperf: use alarm timer for setting timeouts

Fixes #1021