Fix for "A PooledConnection that has already signalled a Connection error is still in use"

When initializing the LocalMessage class, a new transaction should be used in case a fatal error breaks the currently running transaction.