rpc thread - commit inside try clause