Use monotonic clock to compute timeouts (fixes: #159).