zero out timeval struct before using