Fix POSIX timer implementation.

It didn't account for elapsed time before, and now that matters more.