Try catch the vrep current time error directly in the method instead of inside the reset.
Make sure that v-rep time is actually started before returning from the reset.