Forgot to free results at certain places and thus when saving object User more than one connection was used and transaction never committed...