Feature/use clock monotonic

current backport for brnach v4.4-patched to use clock monotonic