Merge pull request #957 from FranciscoBorges/master

HORNETQ-1164 Fix incompatible types in .equals:
Turn off failureCheckAndFlushThread when freezing the connections.
Also remove a duplicate check on "started" at stop().