Using DB::transaction() with the Windows pdo_sqlsrv driver causes this error to appear:
SQLSTATE[42000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]A transaction that was started in a MARS batch is still active at the end of the batch. The transaction is rolled back.