I was creating 2  different resource types with the same http client at the same time.
But one succeed, the other failed with the response 400 and body:
{
  "errorMsg" : "The transaction has already been closed"
}

Is it not allowed to do so?

Austin.