Somewhat improved clock sync stability (the algorithm still has to be reimplemented from scratch)