ISPN-3982 TransactionTable leaks memory when JTS is activated

* Some implementation has an unstable hash code. Use instead the identityHashCode()
ISPN-3743

Ignore some of the errors that can be thrown by a node while stopping:
IllegalStateException and NullPointerException.