make sure to join the transaction before job is scheduled