Set pipe fail to capture any failures from MySQL