Add vtimer funtion to wait until timepoint