task engine fix for mysql exec commands to support transactions. Fixes #191