Add SIGHUP handler
linux: Use clock_gettime(CLOCK_MONOTONIC_RAW) in microseconds functions