Revert "Use the timespec helper functions in restart_wait."

This reverts commit 3b9c6f4e7e750f0016c4539a81cd9292fd380415.

Oops.