added a delay to resto restartDeferredTimelapse to compensate for additional time required to kill the raspivid process