Getting datasets inside transactions for service workers is synchronized