fixed bug when in transaction error and polling metadata
fixed bug when in transaction error and polling metadata

commitmachine/pg-hoffserver,commitmachine/pg-hoffserver,rikard2/pg-hoffserver,rikard2/pg-hoffserver