Fixed timing and entropy

 * It seems clock is messy, started using time() again.
 * If no message arrives, sleep a short time after fetch to
   reduce entropy increase. Watching the timeout now happens
   in the fetch function.
 * Found how to write unbuffered from our subprocesses.