Wrapping reactive transactions with the usingWhen factory