Use tinc 1.0's event infrastructure to handle timeouts.