It's worse than that: taxi drivers count the amount of money they made in a day and stop when it's enough. Then if it rains they make their day quickly and go home, while they will cruise much longer during low demand days.
This is a classic example of short term view and the invisible hand going bad, found in Thinking fast and slow.