How do you manage the water that tomatoes generate when they're cooked?
cook them some more.
use proper "cooking" tomatoes (for example roma variety) that contains less water.
remove all the pulp and seeds (the stuff between the meat) from the tomatoes before cooking them (to remove as much water as possible.