Fix double cat that stalls commands after they're finished