loader: fix race-condition in the Clock loader.