dot-rxWithOptions function

Temporarily set options then restore them while running code